
$(document).ready(function() {	
	$("#gaoliang45").removeClass("sub-menu-link").addClass("selected");
	window.random_code_index = 0;
	$("#defButton").click(function() {		
		var randomN = getRandomNum();
		$("#merOrderNum").val(randomN);		
		
	});
	
	$("#prodCode").val("ST01");
	
	$.formValidator.initConfig({
		validatorgroup : "1",
		formid : "form",
		onerror : function(input1, input2) {
			return false;
		}
	});
	
	$("#customerId").formValidator({
		onshow : " "
	}).inputValidator({
		min : 1,
		onerror : "商户ID不允许为空！"
	});
	
	$("#userAcct").formValidator({
		onshow : " "
	}).inputValidator({
		min : 1,
		onerror : "账户号不允许为空！"
	});
	
});

